gpsbabel.git
12 years agoActually commit leak fix I just told Steve I committed before lunch. {blush}
robertlipe [Sun, 25 Aug 2013 19:29:07 +0000 (19:29 +0000)]
Actually commit leak fix I just told Steve I committed before lunch.  {blush}

12 years agoadd error detection for navicache reader.
tsteven4 [Sun, 25 Aug 2013 18:55:19 +0000 (18:55 +0000)]
add error detection for navicache reader.

12 years agoAnother cleanup pass on GPX reader. Eliminate vmem and several redundant
robertlipe [Sun, 25 Aug 2013 18:48:57 +0000 (18:48 +0000)]
Another cleanup pass on GPX reader.  Eliminate vmem and several redundant
QString->C string roundtrips, making them explicit where needed.

12 years agoActually use autoheader to generate config.h.in instead of manual a manual edit.
tsteven4 [Sun, 25 Aug 2013 18:27:44 +0000 (18:27 +0000)]
Actually use autoheader to generate config.h.in instead of manual a manual edit.
It looks like this hasn't been done for a while.

12 years agorip expat out of the build system.
tsteven4 [Sun, 25 Aug 2013 17:00:45 +0000 (17:00 +0000)]
rip expat out of the build system.
note that msvc/GPSBabel.vcxproj still needs to be updated to do this.

12 years agogpx reader based on QXmlStreamReader goes live.
tsteven4 [Sun, 25 Aug 2013 14:13:45 +0000 (14:13 +0000)]
gpx reader based on QXmlStreamReader goes live.

12 years agoRename GUI *.cpp to *.cc to match convention in core.
robertlipe [Sun, 25 Aug 2013 04:27:45 +0000 (04:27 +0000)]
Rename GUI *.cpp to *.cc to match convention in core.

12 years agocheckpoint new gpx reader based on QXmlStreamReader instead of expat.
tsteven4 [Sat, 24 Aug 2013 01:51:54 +0000 (01:51 +0000)]
checkpoint new gpx reader based on QXmlStreamReader instead of expat.
the new gpx reader is disabled.

12 years agoeliminate weird input mode of gpx reader.
tsteven4 [Fri, 23 Aug 2013 23:10:51 +0000 (23:10 +0000)]
eliminate weird input mode of gpx reader.
add a test to make sure standard input works.

12 years agoFlorian Unger adds rptname, rptdigit options to tranform filter.
robertlipe [Fri, 23 Aug 2013 17:23:31 +0000 (17:23 +0000)]
Florian Unger adds rptname, rptdigit options to tranform filter.

12 years agoHow many times do I have to kill axim and psp? Die, die, die!
robertlipe [Fri, 23 Aug 2013 17:07:40 +0000 (17:07 +0000)]
How many times do I have to kill axim and psp?  Die, die, die!

12 years agoDelete some dead code.
robertlipe [Fri, 23 Aug 2013 04:19:39 +0000 (04:19 +0000)]
Delete some dead code.

12 years agoDrop dead uuid code.
robertlipe [Fri, 23 Aug 2013 03:57:59 +0000 (03:57 +0000)]
Drop dead uuid code.

12 years agoAdd geocaching coverage to unicsv reader/writer test.
robertlipe [Fri, 23 Aug 2013 03:48:22 +0000 (03:48 +0000)]
Add geocaching coverage to unicsv reader/writer test.

12 years agoMinor warning cleanups for Fedora.
robertlipe [Fri, 23 Aug 2013 03:08:48 +0000 (03:08 +0000)]
Minor warning cleanups for Fedora.

12 years agoAdd a KML read test, lame as it is...
robertlipe [Fri, 23 Aug 2013 03:05:37 +0000 (03:05 +0000)]
Add a KML read test, lame as it is...

12 years agoWhittle away a few more C-style date handlers.
robertlipe [Fri, 23 Aug 2013 03:01:02 +0000 (03:01 +0000)]
Whittle away a few more C-style date handlers.

12 years agofix another link related memory issue with the gpx reader.
tsteven4 [Thu, 22 Aug 2013 12:45:45 +0000 (12:45 +0000)]
fix another link related memory issue with the gpx reader.

12 years agofix a bug in the gpx reader that could cause the character data from the wrong elemen...
tsteven4 [Thu, 22 Aug 2013 01:19:47 +0000 (01:19 +0000)]
fix a bug in the gpx reader that could cause the character data from the wrong element to become associated with the link/text element.

12 years agoKludge around probably TZ issue that I introduced in hiketech.
robertlipe [Wed, 21 Aug 2013 19:46:49 +0000 (19:46 +0000)]
Kludge around probably TZ issue that I introduced in hiketech.

12 years agoConvert remaining users (glogbook, hiketech) of xmlgeneric
robertlipe [Wed, 21 Aug 2013 04:24:40 +0000 (04:24 +0000)]
Convert remaining users (glogbook, hiketech) of xmlgeneric
writer to XMLStreamwriter. Drop a whole lot of (kinda dumb) code.

12 years agocorrect error in computing time spans related to DST.
tsteven4 [Tue, 20 Aug 2013 12:10:43 +0000 (12:10 +0000)]
correct error in computing time spans related to DST.
add toMSecsSinceEpoch() for Qt versions before 4.7.

12 years agoOK, the doc is self-correcting when you don't include explict references
robertlipe [Tue, 20 Aug 2013 06:13:43 +0000 (06:13 +0000)]
OK, the doc is self-correcting when you don't include explict references
to formats that just got deleted...

12 years agoActually commit the astyle change I spoke of earlier.
robertlipe [Tue, 20 Aug 2013 05:19:16 +0000 (05:19 +0000)]
Actually commit the astyle change I spoke of earlier.

12 years agoThe reaper comes for little-used and/or pain in the neck formats.
robertlipe [Tue, 20 Aug 2013 03:19:47 +0000 (03:19 +0000)]
The reaper comes for little-used and/or pain in the neck formats.
See depreecated/README for details.

12 years agotweak datetime operator overload.
tsteven4 [Sun, 18 Aug 2013 23:34:32 +0000 (23:34 +0000)]
tweak datetime operator overload.

12 years agodon't use windows ddks that won't work, e.g. the one with the cross compiler on fedor...
tsteven4 [Fri, 16 Aug 2013 17:13:15 +0000 (17:13 +0000)]
don't use windows ddks that won't work, e.g. the one with the cross compiler on fedora 18.

12 years agoRemove another implicit time_t conversion.
robertlipe [Fri, 16 Aug 2013 06:19:05 +0000 (06:19 +0000)]
Remove another implicit time_t conversion.

12 years agoA surpisingly clean bill of health from valgrind on new navicache reader.
robertlipe [Fri, 16 Aug 2013 05:48:01 +0000 (05:48 +0000)]
A surpisingly clean bill of health from valgrind on new navicache reader.
Have some warning cleanups at no extra cost.

12 years agoReplace use of Expat with QXmlStreamReaader in navicache.cc.
robertlipe [Fri, 16 Aug 2013 05:30:55 +0000 (05:30 +0000)]
Replace use of Expat with QXmlStreamReaader in navicache.cc.

12 years agoslightly cleaner fix for Qt 4.6.
tsteven4 [Fri, 16 Aug 2013 04:42:15 +0000 (04:42 +0000)]
slightly cleaner fix for Qt 4.6.

12 years agocompatibility fix for Qt 4.6.
tsteven4 [Thu, 15 Aug 2013 23:05:01 +0000 (23:05 +0000)]
compatibility fix for Qt 4.6.

12 years agoremove insistence that we have expat for kml, gtrnctr, ignrando, wfff, osm now that...
tsteven4 [Thu, 15 Aug 2013 22:38:22 +0000 (22:38 +0000)]
remove insistence that we have expat for kml, gtrnctr, ignrando, wfff, osm now that those readers don't use it.

12 years agoRemove a silly use (in a low-running place) of time_t in gpx.cc
robertlipe [Thu, 15 Aug 2013 18:33:36 +0000 (18:33 +0000)]
Remove a silly use (in a low-running place) of time_t in gpx.cc

12 years agoConrad removes implicit conversion to time_t.
robertlipe [Thu, 15 Aug 2013 18:02:50 +0000 (18:02 +0000)]
Conrad removes implicit conversion to time_t.

12 years agoNEWQ scribbling in filters.
robertlipe [Thu, 15 Aug 2013 17:40:20 +0000 (17:40 +0000)]
NEWQ scribbling in filters.

12 years agoremove some obsolete debris from gpx reader.
tsteven4 [Thu, 15 Aug 2013 02:18:13 +0000 (02:18 +0000)]
remove some obsolete debris from gpx reader.

12 years agorestore native line endings to kml and gpx writers, as with previous releases.
tsteven4 [Tue, 13 Aug 2013 23:31:45 +0000 (23:31 +0000)]
restore native line endings to kml and gpx writers, as with previous releases.

12 years agosubclass QFile to provide error handling and stdio.
tsteven4 [Tue, 13 Aug 2013 02:09:20 +0000 (02:09 +0000)]
subclass QFile to provide error handling and stdio.

12 years agoCheckpoint NEWQ code. Still not very happy with it. It's exposing all kinds
robertlipe [Mon, 12 Aug 2013 20:49:53 +0000 (20:49 +0000)]
Checkpoint NEWQ code.  Still not very happy with it.  It's exposing all kinds
of ugliness.

12 years agostandardize gpx and kml writers using dynamically allocated files and writers.
tsteven4 [Sun, 11 Aug 2013 20:51:01 +0000 (20:51 +0000)]
standardize gpx and kml writers using dynamically allocated files and writers.

12 years agoSketch in work in progress of replacing waypoint list with a QList. Totally
robertlipe [Sun, 11 Aug 2013 20:40:47 +0000 (20:40 +0000)]
Sketch in work in progress of replacing waypoint list with a QList.  Totally
useless right now.

12 years agofix memory leaks in coto, geoniche, humminbird, xol.
tsteven4 [Fri, 9 Aug 2013 23:47:33 +0000 (23:47 +0000)]
fix memory leaks in coto, geoniche, humminbird, xol.

12 years agofix assertion failure in easygps related to new class UrlLink usage.
tsteven4 [Thu, 8 Aug 2013 09:32:46 +0000 (09:32 +0000)]
fix assertion failure in easygps related to new class UrlLink usage.

12 years agoForce testo to run in US.UTF-8 for now.
robertlipe [Thu, 8 Aug 2013 03:56:24 +0000 (03:56 +0000)]
Force testo to run in US.UTF-8 for now.

12 years agoconrad fixes the fix for tmpro.
tsteven4 [Thu, 8 Aug 2013 03:36:50 +0000 (03:36 +0000)]
conrad fixes the fix for tmpro.

12 years agoupdate google test to verify multiple encodings.
tsteven4 [Thu, 8 Aug 2013 03:33:34 +0000 (03:33 +0000)]
update google test to verify multiple encodings.

12 years agofix strip_html leak again, it looks like r4508 lost r4504 in a bad merge.
tsteven4 [Thu, 8 Aug 2013 02:34:34 +0000 (02:34 +0000)]
fix strip_html leak again, it looks like r4508 lost r4504 in a bad merge.

12 years agofix memory link in gpx reader.
tsteven4 [Thu, 8 Aug 2013 02:14:49 +0000 (02:14 +0000)]
fix memory link in gpx reader.
eliminate unused var in csv_util.

12 years agoFix mem clobber in tmpro.
robertlipe [Thu, 8 Aug 2013 01:00:10 +0000 (01:00 +0000)]
Fix mem clobber in tmpro.

12 years agoFrom Conrad Meyer:
robertlipe [Wed, 7 Aug 2013 19:06:32 +0000 (19:06 +0000)]
From Conrad Meyer:

- Nuke leftover HAVE_EXPAT garbage in google.cc
- Use file prefix to attempt to discover HTML encoding
- Slurp entire HTML input file as discovered encoding, then pass to
  QXmlStreamReader as a QString

xmlgeneric:
- Adds a new function, void xml_readunicode(const QString& str) (does
  what you'd expect -- feeds QString input into the xml parser and runs
  it)

12 years agoRemove unnecessary initializations in lowranceusr that were making -Wall fuss.
robertlipe [Wed, 7 Aug 2013 18:13:04 +0000 (18:13 +0000)]
Remove unnecessary initializations in lowranceusr that were making -Wall fuss.

12 years agoCompletely replace URL handling with a sane, unified (if somewhat boring)
robertlipe [Wed, 7 Aug 2013 16:59:40 +0000 (16:59 +0000)]
Completely replace URL handling with a sane, unified (if somewhat boring)
class.

12 years agoFix warnings in mmo.
robertlipe [Tue, 6 Aug 2013 22:39:59 +0000 (22:39 +0000)]
Fix warnings in mmo.

12 years agoRemove remnants of avltree.
robertlipe [Tue, 6 Aug 2013 22:23:56 +0000 (22:23 +0000)]
Remove remnants of avltree.

12 years agoConvert MMO to QHash.
robertlipe [Tue, 6 Aug 2013 22:18:29 +0000 (22:18 +0000)]
Convert MMO to QHash.

12 years agoUpdate jtr to QHash.
robertlipe [Tue, 6 Aug 2013 21:23:52 +0000 (21:23 +0000)]
Update jtr to QHash.

12 years agoConrad converts rest of OSM to QHash.
robertlipe [Tue, 6 Aug 2013 21:11:27 +0000 (21:11 +0000)]
Conrad converts rest of OSM to QHash.

12 years agoUse QHash instead of QMap in osm.
robertlipe [Tue, 6 Aug 2013 20:53:01 +0000 (20:53 +0000)]
Use QHash instead of QMap in osm.

12 years agoFix crash in google reader; some problem remains.
robertlipe [Mon, 5 Aug 2013 04:12:36 +0000 (04:12 +0000)]
Fix crash in google reader; some problem remains.

12 years agoBring happiness to Humminbird on Linux.
robertlipe [Mon, 5 Aug 2013 04:02:04 +0000 (04:02 +0000)]
Bring happiness to Humminbird on Linux.

12 years agoConrad Meyer replaces our expat-based XML reader with QtXmlStreamReader.
robertlipe [Mon, 5 Aug 2013 03:49:56 +0000 (03:49 +0000)]
Conrad Meyer replaces our expat-based XML reader with QtXmlStreamReader.

This is known to crash right now, and that will anger Jenkins, but this will only hurt for a
little while.  (I hope.)   The changes are too good to leave unmerged - let's tackle them
together.

12 years agoReconcile merge conflicts from before. Oops.
robertlipe [Mon, 5 Aug 2013 03:02:23 +0000 (03:02 +0000)]
Reconcile merge conflicts from before.  Oops.

12 years agoAdd new humminbird v3 format.
robertlipe [Mon, 5 Aug 2013 02:59:01 +0000 (02:59 +0000)]
Add new humminbird v3 format.

12 years agofix memory leaks in ozi reader.
tsteven4 [Mon, 5 Aug 2013 01:07:12 +0000 (01:07 +0000)]
fix memory leaks in ozi reader.

12 years agofix memory leak in strip_html().
tsteven4 [Sun, 4 Aug 2013 23:01:55 +0000 (23:01 +0000)]
fix memory leak in strip_html().

12 years agofix memory leak in kml reader.
tsteven4 [Sun, 4 Aug 2013 20:11:02 +0000 (20:11 +0000)]
fix memory leak in kml reader.

12 years agofix memory leak in gdb.
tsteven4 [Sat, 3 Aug 2013 20:10:54 +0000 (20:10 +0000)]
fix memory leak in gdb.

12 years agobe more defensive with deallocation of dynamic memory in tpo.
tsteven4 [Sat, 3 Aug 2013 11:10:37 +0000 (11:10 +0000)]
be more defensive with deallocation of dynamic memory in tpo.

12 years agofix segmentation fault if tpo reads multiple input files.
tsteven4 [Sat, 3 Aug 2013 00:18:37 +0000 (00:18 +0000)]
fix segmentation fault if tpo reads multiple input files.

12 years agofix tpo memory leaks.
tsteven4 [Fri, 2 Aug 2013 13:01:13 +0000 (13:01 +0000)]
fix tpo memory leaks.

12 years agoHush GCC warning on implicit time_t conversion.
robertlipe [Thu, 1 Aug 2013 17:07:50 +0000 (17:07 +0000)]
Hush GCC warning on implicit time_t conversion.

12 years agofix for the garmin_fit fix in r4494.
tsteven4 [Thu, 1 Aug 2013 11:32:20 +0000 (11:32 +0000)]
fix for the garmin_fit fix in r4494.
if multiple garmin_fit files were read memory could have been freed twice.

12 years agoHush "unable to convert category FOO" warnings from GPX reader on Garmin
robertlipe [Thu, 1 Aug 2013 04:27:27 +0000 (04:27 +0000)]
Hush "unable to convert category FOO" warnings from GPX reader on Garmin
extension.

12 years agoLet xml_parse_time take a QString&.
robertlipe [Thu, 1 Aug 2013 04:02:54 +0000 (04:02 +0000)]
Let xml_parse_time take a QString&.

12 years agofix memory leak in garmin_fit.
tsteven4 [Thu, 1 Aug 2013 03:59:09 +0000 (03:59 +0000)]
fix memory leak in garmin_fit.
Also fix an error in the mask for local messsage type.

12 years agoFix some memory leaks in csv_util.
tsteven4 [Thu, 1 Aug 2013 01:38:56 +0000 (01:38 +0000)]
Fix some memory leaks in csv_util.

12 years agoTrailing whitespace cleanup.
robertlipe [Thu, 1 Aug 2013 00:29:55 +0000 (00:29 +0000)]
Trailing whitespace cleanup.

12 years agoWhack two unused functions from util.
robertlipe [Wed, 31 Jul 2013 17:35:45 +0000 (17:35 +0000)]
Whack two unused functions from util.

12 years agoAdd a -l option to vtesto to run memory leak mode so I don't have to remember
robertlipe [Wed, 31 Jul 2013 17:06:46 +0000 (17:06 +0000)]
Add a -l option to vtesto to run memory leak mode so I don't have to remember
the valgrind syntax each time.

12 years agoIgnore unknown field in Garmin fit from ForeRunner 110; don't dcheck that it's zero.
robertlipe [Tue, 30 Jul 2013 16:58:13 +0000 (16:58 +0000)]
Ignore unknown field in Garmin fit from ForeRunner 110; don't dcheck that it's zero.

12 years agoregenerate dependencies.
tsteven4 [Mon, 29 Jul 2013 13:45:35 +0000 (13:45 +0000)]
regenerate dependencies.
r4479 turned jeeps/../gbtypes.h into jeeps/..
additionally a few dependencies changed at some time for xmlgeneric, xmlstreamwriter, mapbar_track.

12 years agoclean up some unused variables as of r4478 in mapasia.
tsteven4 [Mon, 29 Jul 2013 12:48:33 +0000 (12:48 +0000)]
clean up some unused variables as of r4478 in mapasia.

12 years agoCompile fix for CentOS.
robertlipe [Mon, 29 Jul 2013 06:35:43 +0000 (06:35 +0000)]
Compile fix for CentOS.

12 years agoSpiff up xmlgeneric enough to work with wfff, but needs rething on attributes.
robertlipe [Mon, 29 Jul 2013 04:41:33 +0000 (04:41 +0000)]
Spiff up xmlgeneric enough to work with wfff, but needs rething on attributes.
Teaching callers about qxmlstreamattributes may be "better" than shimming this
to QStrings.

12 years agoSketch in extremely crude xmlgeneric reader. Turned off for now.
robertlipe [Mon, 29 Jul 2013 03:55:50 +0000 (03:55 +0000)]
Sketch in extremely crude xmlgeneric reader.  Turned off for now.

12 years agoWhack scraggling reference to gbtypes.h
robertlipe [Mon, 29 Jul 2013 02:29:05 +0000 (02:29 +0000)]
Whack scraggling reference to gbtypes.h

12 years agoEnumerate headers in QT Project file (so search and replaces like I just
robertlipe [Mon, 29 Jul 2013 02:12:31 +0000 (02:12 +0000)]
Enumerate headers in QT Project file (so search and replaces like I just
did will actually work sensibly...)

12 years agoRemove badly encoded comment in alan.cc
robertlipe [Mon, 29 Jul 2013 01:53:51 +0000 (01:53 +0000)]
Remove badly encoded comment in alan.cc

12 years agoSee if I can get away with a hand edit in a vxcproj to eliminate use of gbtypes.h
robertlipe [Mon, 29 Jul 2013 01:50:43 +0000 (01:50 +0000)]
See if I can get away with a hand edit in a vxcproj to eliminate use of gbtypes.h

12 years agogbtypes.h was a good idea in the pre-C99 world (and clearly heavily inspired
robertlipe [Mon, 29 Jul 2013 01:49:41 +0000 (01:49 +0000)]
gbtypes.h was a good idea in the pre-C99 world (and clearly heavily inspired
by it), but it's not needed in C++ times. Search and replace it away.

12 years agoClean up some of the more mechanical uses of time_t and implicit conversions.
robertlipe [Mon, 29 Jul 2013 00:23:34 +0000 (00:23 +0000)]
Clean up some of the more mechanical uses of time_t and implicit conversions.

12 years agoRemove some of our stranger time shims.
robertlipe [Fri, 26 Jul 2013 03:16:29 +0000 (03:16 +0000)]
Remove some of our stranger time shims.

12 years agoWhittle away at more implicit time_t conversions. In some cases, I'm just
robertlipe [Thu, 25 Jul 2013 20:43:47 +0000 (20:43 +0000)]
Whittle away at more implicit time_t conversions.  In some cases, I'm just
moving the problem around, but these are all relatively obscure formats
anyway and pre-1970 times aren't that important for them anyway.

12 years agoGPSBabel.pro Windows fixes from Gerhard.
robertlipe [Wed, 24 Jul 2013 21:50:43 +0000 (21:50 +0000)]
GPSBabel.pro Windows fixes from Gerhard.

12 years agoApply Steven's fix for trackfilter names since I clearly can't get it right.
robertlipe [Wed, 24 Jul 2013 03:05:13 +0000 (03:05 +0000)]
Apply Steven's fix for trackfilter names since I clearly can't get it right.

12 years agoRoll back part of previous change. This should be a local time.
robertlipe [Wed, 24 Jul 2013 02:31:23 +0000 (02:31 +0000)]
Roll back part of previous change.  This should be a local time.
Tested with a variety of TZ values and seems OK now.

12 years agoName track in trackfilter using UTC, not local time.
robertlipe [Tue, 23 Jul 2013 17:03:58 +0000 (17:03 +0000)]
Name track in trackfilter using UTC, not local time.

12 years agoFix track filter to not "randomly" reorder points within a track when
robertlipe [Tue, 23 Jul 2013 06:35:53 +0000 (06:35 +0000)]
Fix track filter to not "randomly" reorder points within a track when
sub-second times are in play.

Addresses problem reported March 26 2010 (sigh) by Klaus Rheinwald.

12 years agoIntegrate mapsend.cc.patch, microseconds-6.patch from Gerhard.
robertlipe [Tue, 23 Jul 2013 02:18:26 +0000 (02:18 +0000)]
Integrate mapsend.cc.patch, microseconds-6.patch from Gerhard.